package com.etc.enums;

/**
 * @Author 武晓春
 * @Description 订单状态枚举
 * @Date 2021/2/19  16:50
 **/
public enum OrderStatusEnums {
    WAIT_PAY(10, "待付款"),
    WAIT_DELIVER(20, "已付款，待发货"),
    WAIT_RECEIVE(30, "已发货，待收货"),
    SUCCESS(40, "交易成功"),
    CLOSE(50, "交易关闭");


    private final Integer type;
    private final String value;

    OrderStatusEnums(Integer type, String value) {
        this.type = type;
        this.value = value;
    }

    public Integer getType() {
        return type;
    }

    public String getValue() {
        return value;
    }
}




